package com.dy.lock.screen.service;

import java.util.List;
import java.util.Map;

import com.dy.lock.screen.pojo.CustomerAttentionInfo;

/**
 * 客户关注信息查询service
 * 
 * @author java
 * 
 */
public interface CustomerAttentionService {

	/**
	 * 查询总条数
	 * 
	 * @param para
	 * @return
	 */
	public Integer queryCount(Map<String, Object> para);

	/**
	 * 分页查询
	 * 
	 * @param para
	 * @return
	 */
	public List<CustomerAttentionInfo> queryPage(Map<String, Object> para);

	/**
	 * 通过id查询
	 * 
	 * @param id
	 * @return
	 */
	public CustomerAttentionInfo queryByPrimaryKey(String id);

	/**
	 * 保存信息
	 * 
	 * @param attentionInfo
	 * @return
	 */
	public int save(CustomerAttentionInfo attentionInfo);

	/**
	 * 删除信息
	 * 
	 * @param likeInfo
	 * @return
	 */
	public int delete(CustomerAttentionInfo attentionInfo);

	/**
	 * 根据关注客户id或被关注客户id查询
	 * 
	 * @param attentionIdOrBeConcernId
	 * @return
	 */
	public List<String> queryByAidOrBeid(
			CustomerAttentionInfo attentionIdOrBeConcernId);

	/**
	 * 通过关注人id和被关注人id查询信息
	 * 
	 * @param attentionInfo
	 * @return
	 */
	public CustomerAttentionInfo queryByAidAndBeid(
			CustomerAttentionInfo attentionInfo);

}
